package com.twu.biblioteca;

import java.util.ArrayList;
import java.util.Collection;

class MovieRepository {

    private final Collection<Movie> movies = new ArrayList<>();

    {
        movies.add(new Movie("Gandhi", 1982, "Richard Attenborough", null));
        movies.add(new Movie("Sholay", 1975, "Ramesh Sippy", null));
    }

    Collection<Movie> findAll() {
        return movies;
    }

}
